<template>
	<view class="share-wrap">
		<uni-nav-bar left-icon="back" left-text="返回" right-text="" statusBar="true" title="转发" backgroundColor="#6E609E"
		 @clickLeft="back" color="#FCF9F9">
		</uni-nav-bar>
		
		
		
		
		<!-- 底部操作菜单 -->
		<view class="page-bottom">
			<view class="action-btn-group">
				<button type="primary" class="action-btn no-border save-now-btn" @tap="saveCanvasImage">保存图片</button>
			</view>
			<view class="action-btn-group">
				<button type="primary" class=" action-btn no-border buy-now-btn" @tap="share">分享图片</button>
			</view>
		</view>
		
		
		
	</view>
</template>

<script>
	import uniNavBar from '@/components/uni-nav-bar/uni-nav-bar.vue';

	export default {
		components: {
			uniNavBar
		},
		data() {
			return {
				
			}
		},
		
		methods: {
			back() {
				uni.navigateBack()
			},

		}
	}
</script>

<style lang="scss">
	.uni-nav-bar-text {
		font-size: 34upx !important;
		font-weight: bold;
	}

	page {
		background: rgba(250, 250, 250, 1);
		padding-bottom: 106upx;
	}

	/* 底部操作菜单 */
	.page-bottom {
		position: fixed;
		left: 0upx;
		bottom: 0upx;
		z-index: 95;
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		height: 106upx;
		box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.3);
	
		.action-btn-group {
			width: 50%;
			height: 106upx;
			line-height: 106upx;
			font-weight: 500;
			text-align: center;
			border-radius: 0;
			overflow: hidden;
	
			.action-btn {
				height: 106upx;
				line-height: 106upx;
				font-size: 38upx;
				background: #6E609E;
				border-radius: 0;
			}
	
			.save-now-btn {
				height: 106upx;
				line-height: 106upx;
				background: #fff;
				font-size: 38upx;
				color: #333232;
				border-radius: 0;
			}
		}
	}
</style>
